#include "NeoSpinBox.h"
#include "private/NeoSpinBoxPrivate.h"
#include "style/NeoSpinBoxStyle.h"

NeoSpinBox::NeoSpinBox(QWidget *parent)
    : QSpinBox(parent), d_ptr(new NeoSpinBoxPrivate())
{
    NEO_PUBLIC_POINT(NeoSpinBox)
    d->q_ptr = this;
    this->setStyle(new NeoSpinBoxStyle(this->style()));
    this->setAlignment(Qt::AlignHCenter);
}

NeoSpinBox::~NeoSpinBox() = default;
